package com.wavehi.embeded_server.controller;

import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author WaveHi
 * @Date 16/11/2021 下午 5:02
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
@Controller
public class CommonController {

    @RequestMapping("/hello")
    @ResponseBody
    public String hello() {
        return "Hello!";
    }
}
